Crate getrandom_or_panic
source ·Expand description
Returns OsRng
with getrandom
, or a CryptoRng
which panics without getrandom
.
Re-exports
pub use rand_core;
Traits
- Re-export rand_core types to simplify dependences A marker trait used to indicate that an
RngCore
orBlockRngCore
implementation is supposed to be cryptographically secure. - Re-export rand_core types to simplify dependences The core of a random number generator.
- Re-export rand_core types to simplify dependences A random number generator that can be explicitly seeded.